var old_body_background = document.body.style.background
var initial_wait_time = 3000

setTimeout(function(){
    document.body.style.transition = 'background 3s';
    document.body.style.background = '#5791ec';
}, initial_wait_time + Math.random() * 5000)


setTimeout(
function() {
    document.body.style.background = 'red';
}, initial_wait_time + 5000 + Math.random() * 2000);

setTimeout(
function() {
    document.body.style.background = old_body_background;
}, initial_wait_time + 7000 + Math.random() * 2000);
